package com.ouyang.mapper;

import com.ouyang.form.AddUserForm;
import com.ouyang.poji.User;

import java.util.List;

public interface UserMapper {

    public List<User> getuserlist ( );

    public List<User> searchById ( String value );

    public List<User> searchByUserName ( String value );

    public List<User> searchByEmail ( String value );

    public void adduser ( AddUserForm userForm );

    public void updateuser ( User user );

    public void deleteuser ( String id );
}
